import {
	request
} from '../request.js'
const flsubsite = {
	banner(params) {
		return request({
			method: 'Get',
			url: '/api/cms/front/banner',
			params: params
		})
	},
	news(params) {
		return request({
			method: 'Get',
			url: '/api/cms/news',
			params: params
		})
	},
	hotGoods(params) {
		return request({
			method: 'Get',
			url: '/api/goods/front/goods/hotGoods',
			params: params
		})
	},
	// 展示活动类型和活动名称
	// activity(params) {
	// 	return request({
	// 		method: 'Get',
	// 		url: '/api/cms/front/activity',
	// 		params: params
	// 	})
	// },
	activity(params) {
		return request({
			method: 'Get',
			url: '/api/cms/front/activity/frontList',
			params: params
		})
	},
	// 活动热销商品
	actHotGoods(params) {
		return request({
			method: 'Get',
			url: '/api/goods/front/goods/actHotGoods',
			params: params
		})
	},
	// 加载活动商品列表
	actgoods(params) {
		return request({
			method: 'Get',
			url: '/api/goods/front/goods/getActList',
			params: params
		})
	},
	
}
export default flsubsite
